using System.Configuration;

namespace Common.Configuration.Listener
{
    public class PrefixCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new PrefixElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((PrefixElement)element).FullValue;
        }
    }
}